@layout("/common/_testCommon.html"){
<title>个人资料</title>
</head>
<body>
<div class="navbar-fixed-top">
    <header class=" listhead head ">
        <a class="souye navbar-brand" href="${ctxPath}/index"><img src="${ctxPath}/static/img/zhuye.png"
                                                                   width="50%"></a>
        <a class="souye navbar-brand tuichu" href="${ctxPath}/my/personalCentres"><img
                src="${ctxPath}/static/img/fanhuiwode.png" width="50%"></a>
    </header>
    <input name="id" id="id" value=${user.id} type="hidden">
    <input name="isex" id="isex" value="${user.sex}" type="hidden">
</div>
<div class="margintop">
    <div class="form-group">
        用户名：<input type="text" name="name" id="name" class="form-control" value="${user.name}">
    </div>
    <div class="form-group">
        性别：
        <select id="sex" name="sex" class="form-control" value="${user.sex}">
            <option value="1">男</option>
            <option value="2">女</option>
        </select>
    </div>
    <div class="form-group">
        部门：<input type="text" name="dept" id="dept" class="form-control" value="${user.dept}">
    </div>
    <div class="form-group">
        邮箱：<input type="text" name="email" id="email" class="form-control" value="${user.email}">
    </div>
    <div class="form-group">
        电话：<input type="text" name="phone" id="phone" class="form-control" value="${user.phone}">
    </div>
    <div class="marginleft">
        <div class="form-group">
            @if(shiro.hasPermission("/dept/update")){
            <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="MyInfoDlg.editSubmit()"/>
            @}
            <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="MyInfoDlg.close()"/>
        </div>
    </div>
</div>
<div id="bottomDiv"></div>
<script src="${ctxPath}/static/modular/theTest/theTest/my.js"></script>
<script src="${ctxPath}/static/modular/theTest/theTest/common.js"></script>
@}
